package com.study.testSSMPlus.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.baomidou.mybatisplus.core.incrementer.IKeyGenerator;
import com.baomidou.mybatisplus.extension.incrementer.PostgreKeyGenerator;

@Configuration
public class MybatisPlusConfig {

	@Bean
	public IKeyGenerator keyGenerator() {
	    return new PostgreKeyGenerator();//OracleKeyGenerator
	}
}
